package cn.kxm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kxm.pojo.*;
public interface CompanyMapper2 {

	public List<Company> findAll(@Param("code")String code,
			@Param("name")String name,@Param("type")Integer type,
			@Param("page")Integer page,@Param("size")Integer size);

	public int getCount(@Param("code")String code,
			@Param("name")String name,
			@Param("type")Integer type);
	/**
	 * 通过name conpany
	 * @param name
	 * @return
	 */
	public  Company getCompanyFax(
			@Param("name")String name);
	

}
